1.3. Protocol endpoints
The protocol includes the following endpoints:
| № | Parameter | Description |
|---|---|---|
| 1 | /sale | Send sales invoice to SmartOne Cashbox for payment and fiscalization |
| 2 | /refund | Send a refund invoice |
| 3 | /rollback | Send invoice cancellation |
| 4 | /check_status | Checking the status of the account (only when working with the cash register) |
| 5 | /check_copy | Printing a copy of the receipt |
| 6 | /order | Sending the order document |
| 7 | /preorder | Printing the preliminary invoice receipt. |
| 8 | /prepay | Sending a prepaid invoice to SmartOne Cashbox |
| 9 | /creditpay | Sending a loan repayment invoice to SmartOne Cashbox |
| 10 | /x_report | X report |
| 11 | /open_shift | Open shift |
| 12 | /close_shift | Close shift |
| 13 | /check_shift | Check shift status |
| 14 | /deposit | Deposit to the cashier |
| 15 | /withdraw | Collection |
| 16 | /get_info | Getting information from the token |
| 17 | /dates_report | Report for the period |